iterator - definição. O que é iterator. Significado, conceito
Diclib.com
Dicionário ChatGPT
Digite uma palavra ou frase em qualquer idioma 👆
Idioma:

Tradução e análise de palavras por inteligência artificial ChatGPT

Nesta página você pode obter uma análise detalhada de uma palavra ou frase, produzida usando a melhor tecnologia de inteligência artificial até o momento:

  • como a palavra é usada
  • frequência de uso
  • é usado com mais frequência na fala oral ou escrita
  • opções de tradução de palavras
  • exemplos de uso (várias frases com tradução)
  • etimologia

O que (quem) é iterator - definição

IN COMPUTING, AN OBJECT WHOSE METHODS ENABLES A PROGRAM TO ORDERLY TRAVERSE ELEMENTS HAVING SOME LOGICAL CONDITIONS IN A GIVEN CONTAINER FROM A GIVEN FIRST ELEMENT
Iterators; IteratorAggregate; Iterator (C++); IEnumerable; External iterator; Internal iterators; Comparison of programming languages (iterators)

iterator         
<programming> An object or routine for accessing items from a list, array or stream one at a time. By extension, the term can be used for an object or routine for accesing items from any data structure that can be viewed as a list. For example, a traverser is an iterator for tree-shaped data structures. (2001-10-04)
Iterator         
In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface.
Iterator pattern         
OBJECT-ORIENTED DESIGN PATTERN USING AN ITERATOR TO TRAVERSE A CONTAINER AND ACCESS THE CONTAINER'S ELEMENTS
Iterator Pattern; Cursor pattern
In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's elements. The iterator pattern decouples algorithms from containers; in some cases, algorithms are necessarily container-specific and thus cannot be decoupled.

Wikipédia

Iterator

In computer programming, an iterator is an object that enables a programmer to traverse a container, particularly lists. Various types of iterators are often provided via a container's interface. Though the interface and semantics of a given iterator are fixed, iterators are often implemented in terms of the structures underlying a container implementation and are often tightly coupled to the container to enable the operational semantics of the iterator. An iterator performs traversal and also gives access to data elements in a container, but does not itself perform iteration (i.e., not without some significant liberty taken with that concept or with trivial use of the terminology).

An iterator is behaviorally similar to a database cursor. Iterators date to the CLU programming language in 1974.